From b11262594c1e6c166f793c32b8f575098f2cc5c7 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 31 Jul 2007 17:38:27 +0000 Subject: [PATCH] Make the label wrap, for compatibility with the old tooltips code. This 2007-07-31 Matthias Clasen * gtk/gtktooltip.c (gtk_tooltip_init): Make the label wrap, for compatibility with the old tooltips code. This fixes absurdly long tooltips in the color selector. svn path=/trunk/; revision=18558 --- ChangeLog | 6 ++++++ gtk/gtktooltip.c | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 50bbd05837..f11fd06a2c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-07-31 Matthias Clasen + + * gtk/gtktooltip.c (gtk_tooltip_init): Make the label + wrap, for compatibility with the old tooltips code. This + fixes absurdly long tooltips in the color selector. + 2007-07-30 Kristian Rietveld * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_cell): Fix diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c index 77d465ca90..666ab78689 100644 --- a/gtk/gtktooltip.c +++ b/gtk/gtktooltip.c @@ -150,6 +150,7 @@ gtk_tooltip_init (GtkTooltip *tooltip) FALSE, FALSE, 0); tooltip->label = gtk_label_new (""); + gtk_label_set_line_wrap (GTK_LABEL (tooltip->label), TRUE); gtk_box_pack_start (GTK_BOX (tooltip->box), tooltip->label, FALSE, FALSE, 0); -- 2.30.2